package de.schollit.seomonitor.p2;

import org.eclipse.equinox.internal.provisional.p2.ui.policy.IUViewQueryContext;
import org.eclipse.equinox.internal.provisional.p2.ui.policy.Policy;

@SuppressWarnings("restriction")
public class RCPPolicy extends Policy {
	public RCPPolicy() {
		// XXX User has no access to manipulate repositories
		setRepositoryManipulator(null);

		// XXX Default view is by category
		IUViewQueryContext queryContext = new IUViewQueryContext(IUViewQueryContext.AVAILABLE_VIEW_BY_CATEGORY);
		setQueryContext(queryContext);
		
		
	}
}